package com.cq.androidtools.room1

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 作者: CQ
 * 日期: 2021-05-13
 * 说明:
 */
@Entity(tableName = "Make")
class MakeBean(
    @PrimaryKey(autoGenerate = true)
    var id: Int,
    @ColumnInfo
    var sId: Int,
    @ColumnInfo
    var type: String,
    @ColumnInfo
    var cj: String
) {
    override fun toString(): String {
        return "MakeBean(id=$id, sId=$sId, type='$type', cj='$cj')"
    }
}